package com.kmproject.haifu.mvp.ui.adapter;

import android.support.annotation.Nullable;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.kmproject.haifu.R;
import com.kmproject.haifu.mvp.model.entity.beans.HousePayWayBean;

import java.util.List;

public class PriceRangeAdapter extends BaseQuickAdapter<HousePayWayBean, BaseViewHolder> {
    public PriceRangeAdapter(@Nullable List<HousePayWayBean> data) {
        super(R.layout.item_select_region, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HousePayWayBean item) {
        helper.<TextView>getView(R.id.tv_select_address_name).setText(item.getName());
    }
}
